<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>AWTK-JAVA: awtk.TGuagePointer类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">AWTK-JAVA
   </div>
   <div id="projectbrief">AWTK JAVA API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>awtk</b></li><li class="navelem"><a class="el" href="classawtk_1_1_t_guage_pointer.html">TGuagePointer</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="classawtk_1_1_t_guage_pointer-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">awtk.TGuagePointer类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 awtk.TGuagePointer 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classawtk_1_1_t_guage_pointer.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a54855039e54c1d45347ccff1d2c3b604"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_guage_pointer.html#a54855039e54c1d45347ccff1d2c3b604">TGuagePointer</a> (long nativeObj)</td></tr>
<tr class="separator:a54855039e54c1d45347ccff1d2c3b604"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f23c1b099f75a775d74061a422d85ff"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_guage_pointer.html#a8f23c1b099f75a775d74061a422d85ff">setAngle</a> (int angle)</td></tr>
<tr class="separator:a8f23c1b099f75a775d74061a422d85ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d3998ffcd746bc0eb682a299f0d92d0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_guage_pointer.html#a8d3998ffcd746bc0eb682a299f0d92d0">setImage</a> (String image)</td></tr>
<tr class="separator:a8d3998ffcd746bc0eb682a299f0d92d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35aed383cbb35d2323fc6564c47b0d89"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_guage_pointer.html#a35aed383cbb35d2323fc6564c47b0d89">setAnchor</a> (String anchor_x, String anchor_y)</td></tr>
<tr class="separator:a35aed383cbb35d2323fc6564c47b0d89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10e80d6b338ec509465b32cc13c12d4c"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_guage_pointer.html#a10e80d6b338ec509465b32cc13c12d4c">getAngle</a> ()</td></tr>
<tr class="separator:a10e80d6b338ec509465b32cc13c12d4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2258c3a4de371ec9dac4e28bcc08fa35"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_guage_pointer.html#a2258c3a4de371ec9dac4e28bcc08fa35">getImage</a> ()</td></tr>
<tr class="separator:a2258c3a4de371ec9dac4e28bcc08fa35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f1e0fdd218f3d897b1beb4617b3a6c5"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_guage_pointer.html#a9f1e0fdd218f3d897b1beb4617b3a6c5">getAnchorX</a> ()</td></tr>
<tr class="separator:a9f1e0fdd218f3d897b1beb4617b3a6c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb3cd125834bd200b5130d92eec91a1f"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_guage_pointer.html#aeb3cd125834bd200b5130d92eec91a1f">getAnchorY</a> ()</td></tr>
<tr class="separator:aeb3cd125834bd200b5130d92eec91a1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a2eeefebdecc98e34b8ed9dc8cef045bd"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_t_guage_pointer.html">TGuagePointer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_guage_pointer.html#a2eeefebdecc98e34b8ed9dc8cef045bd">cast</a> (long nativeObj)</td></tr>
<tr class="separator:a2eeefebdecc98e34b8ed9dc8cef045bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8970c3dc69c00bbc3efe50e9c2e9976"><td class="memItemLeft" align="right" valign="top">static TWidget&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_guage_pointer.html#ad8970c3dc69c00bbc3efe50e9c2e9976">create</a> (TWidget parent, int x, int y, int w, int h)</td></tr>
<tr class="separator:ad8970c3dc69c00bbc3efe50e9c2e9976"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a317f63fc15b0ef2bb4ecdcc36a20308b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_t_guage_pointer.html">TGuagePointer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_guage_pointer.html#a317f63fc15b0ef2bb4ecdcc36a20308b">cast</a> (TWidget widget)</td></tr>
<tr class="separator:a317f63fc15b0ef2bb4ecdcc36a20308b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>仪表指针控件。</p>
<p>仪表指针就是一张旋转的图片，图片可以是普通图片也可以是SVG图片。</p>
<p>在嵌入式平台上，对于旋转的图片，SVG图片的效率比位图高数倍，所以推荐使用SVG图片。</p>
<p>guage_pointer_t是widget\_t的子类控件，widget_t的函数均适用于guage_pointer_t控件。</p>
<p>在xml中使用"guage\_pointer"标签创建仪表指针控件。如：</p>
<div class="fragment"><div class="line">*&lt;<span class="keywordtype">guage_pointer</span> <span class="keyword">x</span>=<span class="stringliteral">&quot;c&quot;</span> <span class="keyword">y</span>=<span class="stringliteral">&quot;50&quot;</span> <span class="keyword">w</span>=<span class="stringliteral">&quot;24&quot;</span> <span class="keyword">h</span>=<span class="stringliteral">&quot;140&quot;</span> <span class="keyword">value</span>=<span class="stringliteral">&quot;-128&quot;</span> <span class="keyword">image</span>=<span class="stringliteral">&quot;guage_pointer&quot;</span> /&gt;</div>
</div><!-- fragment --><blockquote class="doxtable">
<p>更多用法请参考： </p>
</blockquote>
<p><a href="https://github.com/zlgopen/awtk/blob/master/demos/assets/default/raw/ui/guage.xml">guage.xml</a></p>
<p>在c代码中使用函数guage_pointer_create创建仪表指针控件。如：</p>
<blockquote class="doxtable">
<p>创建之后，需要用guage_pointer_set_image设置仪表指针图片。 </p>
</blockquote>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a54855039e54c1d45347ccff1d2c3b604"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54855039e54c1d45347ccff1d2c3b604">&#9670;&nbsp;</a></span>TGuagePointer()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">awtk.TGuagePointer.TGuagePointer </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>nativeObj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>通过nativeObj构造Java对象。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">nativeObj</td><td>原生对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对应的Java对象。 </dd></dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a2eeefebdecc98e34b8ed9dc8cef045bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2eeefebdecc98e34b8ed9dc8cef045bd">&#9670;&nbsp;</a></span>cast() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classawtk_1_1_t_guage_pointer.html">TGuagePointer</a> awtk.TGuagePointer.cast </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>nativeObj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>把nativeObj转换层Java对象。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">nativeObj</td><td>原生对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对应的Java对象。 </dd></dl>

</div>
</div>
<a id="a317f63fc15b0ef2bb4ecdcc36a20308b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a317f63fc15b0ef2bb4ecdcc36a20308b">&#9670;&nbsp;</a></span>cast() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classawtk_1_1_t_guage_pointer.html">TGuagePointer</a> awtk.TGuagePointer.cast </td>
          <td>(</td>
          <td class="paramtype">TWidget&#160;</td>
          <td class="paramname"><em>widget</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>转换为guage_pointer对象(供脚本语言使用)。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">widget</td><td>guage_pointer对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>guage_pointer对象。 </dd></dl>

</div>
</div>
<a id="ad8970c3dc69c00bbc3efe50e9c2e9976"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8970c3dc69c00bbc3efe50e9c2e9976">&#9670;&nbsp;</a></span>create()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static TWidget awtk.TGuagePointer.create </td>
          <td>(</td>
          <td class="paramtype">TWidget&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建guage_pointer对象</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>父控件 </td></tr>
    <tr><td class="paramname">x</td><td>x坐标 </td></tr>
    <tr><td class="paramname">y</td><td>y坐标 </td></tr>
    <tr><td class="paramname">w</td><td>宽度 </td></tr>
    <tr><td class="paramname">h</td><td>高度</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对象。 </dd></dl>

</div>
</div>
<a id="a9f1e0fdd218f3d897b1beb4617b3a6c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f1e0fdd218f3d897b1beb4617b3a6c5">&#9670;&nbsp;</a></span>getAnchorX()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TGuagePointer.getAnchorX </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>图片旋转锚点x坐标。(后面加上px为像素点，不加px为相对百分比坐标0.0f到1.0f) </p>

</div>
</div>
<a id="aeb3cd125834bd200b5130d92eec91a1f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb3cd125834bd200b5130d92eec91a1f">&#9670;&nbsp;</a></span>getAnchorY()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TGuagePointer.getAnchorY </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>图片旋转锚点x坐标。(后面加上px为像素点，不加px为相对百分比坐标0.0f到1.0f) </p>

</div>
</div>
<a id="a10e80d6b338ec509465b32cc13c12d4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10e80d6b338ec509465b32cc13c12d4c">&#9670;&nbsp;</a></span>getAngle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.TGuagePointer.getAngle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>指针角度。12点钟方向为0度，顺时钟方向为正，单位为度。 </p>

</div>
</div>
<a id="a2258c3a4de371ec9dac4e28bcc08fa35"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2258c3a4de371ec9dac4e28bcc08fa35">&#9670;&nbsp;</a></span>getImage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TGuagePointer.getImage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>指针图片。</p>
<p>图片须垂直向上，图片的中心点为旋转方向。 </p>

</div>
</div>
<a id="a35aed383cbb35d2323fc6564c47b0d89"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a35aed383cbb35d2323fc6564c47b0d89">&#9670;&nbsp;</a></span>setAnchor()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TGuagePointer.setAnchor </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>anchor_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>anchor_y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置指针的旋转锚点。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">anchor_x</td><td>指针的锚点坐标x。(后面加上px为像素点，不加px为相对百分比坐标) </td></tr>
    <tr><td class="paramname">anchor_y</td><td>指针的锚点坐标y。(后面加上px为像素点，不加px为相对百分比坐标)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a8f23c1b099f75a775d74061a422d85ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f23c1b099f75a775d74061a422d85ff">&#9670;&nbsp;</a></span>setAngle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TGuagePointer.setAngle </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>angle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置指针角度。12点钟方向为0度，顺时钟方向为正，单位为度。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">angle</td><td>指针角度。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a8d3998ffcd746bc0eb682a299f0d92d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8d3998ffcd746bc0eb682a299f0d92d0">&#9670;&nbsp;</a></span>setImage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TGuagePointer.setImage </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>image</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置指针的图片。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">image</td><td>指针的图片。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>output/TGuagePointer.java</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
